package com.example.ljw.richangdemo.utils;

/**
 * Created by Atom on 2016/7/4.
 */
public class Constant {


    //------------------------网络请求成功-----------------------------
    public static final int HTTP_SUCCESS = 1;

    public static  int SHOP_ID = 0;
    public static  String SHOP_NAME = "";

    public static final long HEFE_HOUR = 1800000;

    //SharedPreferences 名称
    public static final String SP_FILE_NAME_CONFIG = "config";
    public static final String SP_FILE_NAME_USER_INFO = "user";
    public static final String SP_NAME_USER_INFO = "user";
    public static final String SP_FILE_NAME_LOGIN_PHONES = "phones";
    public static final String SP_NAME_PHONES = "phones";
    public static final String SP_HISTORY = "historys";


    public static final String SP_NAME_KAIDIAN = "kaidian";

    public static final String QQ_APP_ID = "1105822889";

    public static final String WX_APP_ID = "wx3e72f605d826f88e";
    public static final String WX_PARTNER_ID = "1423259202";

    public static final String BD_PARTNER_ID = "1002344188";
    public static final String BD_API_KEY = "K818dd5UrS062a3ZS2bfB0KUMMk4r7OG";
    public static final String MOBILE_MCODE = "68:DE:D4:C9:3F:F4:D4:97:4D:D8:5D:15:22:8A:C7:6D:21:33:3C:63;com.wbkj.pinche";


    public static final String ALIPAY_APP_ID = "2017111109859915";
    //2088821677409534
    public static int SELECTADDRESS = 111; //地址选择


    //手机正则表达式
    public static String PHONE_REGEX = "[1][34578]\\d{9}";
    //身份证
    public static String ID_CARD_REGEX = "\\d{15}|\\d{17}[0-9Xx]";
    public static String ID_CARD_REGEX_HIDE = "/(\\d{6})\\d{8}(\\d{4})/ig";

    //public static String ID_CARD_REGEX = "\\d{17}[\\d|x]|\\d{15}";
    //车牌号
    public static String CAR_NUM_REGEX = "[\u4e00-\u9fa5]{1}[a-z_A-Z]{1}[a-z_A-Z_0-9]{5}";
    //金额
    public static String MONEY_REGEX = "[1-9]\\d*.\\d*|0.\\d*[1-9]\\d*";
    public static String MONEY_REGEX1 = "[1-9]\\d*";
//    public static String MONEY_REGEX = "^[+-]?\\d*\\.?\\d{1,2}$";







}
